package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * author:z
 * time:2021/12/22 10:21
 * description:
 */
@SpringBootApplication
@EnableEurekaClient //将微服务注册到eureka中
@EnableConfigServer //开启配置服务中心
@ServletComponentScan(basePackages = "com.qf.filter")
public class ConfigServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class,args);
    }
}
